package cn.da.shuai.cool.finance.model;

import cn.da.shuai.cool.common.entity.EntityBase;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 税务申报表
 * </p>
 *
 * @author 大帅哥
 * @since 2023-05-01
 */
@Getter
@Setter
@TableName("cool_tax_declaration")
@Schema(name = "CoolTaxDeclaration", description = "税务申报表")
public class CoolTaxDeclaration extends EntityBase {

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "税种：VAT-增值税，EIT-企业所得税")
    @TableField("tax_type")
    private String taxType;

    @Schema(description = "申报期间（格式：YYYY-MM）")
    @TableField("declaration_period")
    private String declarationPeriod;

    @Schema(description = "应纳税所得额")
    @TableField("taxable_amount")
    private BigDecimal taxableAmount;

    @Schema(description = "税率")
    @TableField("tax_rate")
    private BigDecimal taxRate;

    @Schema(description = "应纳税额")
    @TableField("tax_amount")
    private BigDecimal taxAmount;

    @Schema(description = "状态：1-未申报，2-已申报，3-已缴纳")
    @TableField("status")
    private Integer status;
}